var express = require('express');
var router = express.Router();
var service = require("../service/testservice")
/* GET home page. */
router.get('/', function(req, res, next) {
  service.findAll(function(err, docs){
    res.end(JSON.stringify(docs));
  })
});

module.exports = router;
